<template>
	<view>
		<view class="tp-pd30" v-for="item in content">
			<jyf-parser :html="item.context || ''" ref="article"></jyf-parser>
		</view>
	</view>
</template>

<script>
	import jyfParser from "@/components/jyf-parser/jyf-parser.vue";
	export default {
		components:{
			jyfParser
		},
		data() {
			return {
				content: '', // 内容
			};
		},
		onLoad() {
			console.log(1111111)
			this.gettxt()
		},
		methods:{
			gettxt(){
				console.log(22222222222222)
				this.$http.get(this.$api.orderText + '?type=22').then(res => {
					if(res.code == 200){
						this.content = res.data.list
					}
				})
			},
		}
	}
</script>

<style lang="scss">

</style>
